<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ui_FormNode.aspx.cs" Inherits="Private_Config_Registry_ui_FormNode" %>
<%@ Register TagPrefix="Flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>
<html>
<head runat="server">
	<link href="../../../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
</head>
<body class="nopad">
<form id="form1" runat="server">
<Flux:HostTable runat="server">

<Flux:ValidationSummarySection runat="server" HeaderText="Please correct the following errors"/>

<Flux:Section runat="server" Title="Add/Edit Registry Key">
<Flux:ShadePadBox runat="server">
	<table cellspacing="0" cellpadding="5" border="0" width="500">
	<tr><td nowrap="true">
			Key Name:<%=Required%>
		</td>
		<td><asp:TextBox Runat="server" ID="KeyName" Width="200px" style="width:200px"/></td>
	</tr>
	<tr><td>Key Value:</td>
		<td><asp:TextBox Runat="server" ID="KeyValue" Width="250px" style="width:250px"/></td>
	</tr>
	<tr><td>Key Type:<%=Required%></td>
		<td>
			<asp:DropDownList runat="server" ID="KeyType" Width="250px" style="width:250px">
				<asp:ListItem Value="3">String</asp:ListItem>
				<asp:ListItem Value="1">Integer</asp:ListItem>
				<asp:ListItem Value="2">Boolean</asp:ListItem>
				<asp:ListItem Value="3">Date/Time</asp:ListItem>
				<asp:ListItem Value="3">Enumeration</asp:ListItem>
			</asp:DropDownList>
		</td>
	</tr>
	</table>
</Flux:ShadePadBox>
</Flux:Section>

<Flux:Section runat="server">
<Flux:PadBox CssClass="Pad5Button" runat="server">
	<asp:Button runat="server" ID="btnSave" Text="Save" OnClick="btnSave_Click"/>&nbsp;&nbsp;&nbsp;
	<asp:Button runat="server" ID="btnCancel" Text="Cancel" OnClick="btnCancel_Click" CausesValidation="False"/>
</Flux:PadBox>
</Flux:Section>

<!-- Validators -->
<asp:RequiredFieldValidator Runat="server" ControlToValidate="KeyName" ErrorMessage="You must specify the name of the key" Display="None"/>
</Flux:HostTable>
</form>
</body>
</html>
